package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 风向风速统计对象 sys_wind_summary
 * 
 * @author ruoyi
 * @date 2023-12-04
 */
public class SysWindSummary extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 风向id主键 */
    private Long id;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date windDate;

    /** 风向 */
    @Excel(name = "风向")
    private String windDirection;

    /** 风速 */
    @Excel(name = "风速")
    private Long windSpeed;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWindDate(Date windDate) 
    {
        this.windDate = windDate;
    }

    public Date getWindDate() 
    {
        return windDate;
    }
    public void setWindDirection(String windDirection) 
    {
        this.windDirection = windDirection;
    }

    public String getWindDirection() 
    {
        return windDirection;
    }
    public void setWindSpeed(Long windSpeed) 
    {
        this.windSpeed = windSpeed;
    }

    public Long getWindSpeed() 
    {
        return windSpeed;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("windDate", getWindDate())
            .append("windDirection", getWindDirection())
            .append("windSpeed", getWindSpeed())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
